clc
x = 0:0.01:10;
y = x.^3;
net = newff(minmax(x),[20,1],{'logsig','purelin','trainlm'})
